package com.bestcem.xm.openplatform.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bestcem.xm.common.core.domain.web.XmResultJson;
import com.bestcem.xm.component.mybatis.base.ResultPage;
import com.bestcem.xm.component.mybatis.service.IXmService;
import com.bestcem.xm.openplatform.entity.OpenplatformExtparamenummanage;
import springfox.documentation.annotations.ApiIgnore;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface OpenplatformExtparamenummanageService extends IXmService<OpenplatformExtparamenummanage> {

    OpenplatformExtparamenummanage getExtParamEnumById(String id);

    List<OpenplatformExtparamenummanage> getExtParamEnumList(HttpServletRequest request);

    ResultPage<?> getExtParamEnumPage(@ApiIgnore Page<OpenplatformExtparamenummanage> page, HttpServletRequest request);

    XmResultJson<?> addExtParamEnum(JSONObject param);

    XmResultJson<?> updateExtParamEnum(String id, JSONObject param);

    XmResultJson<?> deleteExtParamEnum(String id);
}
